/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nxlv2.nomad.accessdb.dao;

import com.nxlv2.nomad.businessobjects.Article;
import com.nxlv2.nomad.businessobjects.DetailCommande;
import com.nxlv2.nomad.businessobjects.Prix;

/**
 *
 * @author Nastasia
 */
public interface IDetailCommandeDao {
    void saveDetailCommande(DetailCommande detailCommande) throws DAOException;
    void deleteDetailCommande(int id) throws DAOException;
    void updateDetailCommande(DetailCommande detailCommande) throws DAOException;
    DetailCommande findDetailCommandeById(int id) throws DAOException;
    
    Article getArticle(DetailCommande detailCommande) throws DAOException;
    void lierArticleADetailCommande(Article article, DetailCommande detailCommande) throws DAOException;
            
    Prix getPrix(DetailCommande detailCommande) throws DAOException;
    void lierPrixADetailCommande(Prix prix, DetailCommande detailCommande) throws DAOException;
}
